
import com.six.domain.Log;
import com.six.domain.Role;
import com.six.domain.User;
import com.six.service.LogService;
import com.six.service.RoleService;
import com.six.service.UserService;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.test.context.ContextConfiguration;
import org.springframework.test.context.junit4.SpringRunner;

import java.util.List;

@RunWith(SpringRunner.class)
@ContextConfiguration("classpath:applicationContext.xml")

public class test {
    @Autowired
    LogService logService;

    @Test
    public void tst1() {

        List<Log> aLlList = logService.getALlList();
        System.out.println(aLlList);
    }

    ;
}
